package com.xyzyzglxt.system.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xyzyzglxt.common.core.domain.entity.SysUser;
import com.xyzyzglxt.common.annotation.Excel;
import com.xyzyzglxt.common.core.domain.BaseEntity;

/**
 * 报名签到签退对象 sys_user_event
 *
 * @author xyzyzglxt
 * @date 2022-01-18
 */
public class SysUserEvent implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 志愿活动id */
    @Excel(name = "志愿活动id")
    private Long eventId;

    /** 签到状态（0未签到，1已签到） */
    @Excel(name = "签到状态", readConverterExp = "0=未签到，1已签到")
    private String statusSignUp;

    /** 签退状态（0未签退，1已签退） */
    @Excel(name = "签退状态", readConverterExp = "0=未签退，1已签退")
    private String statusSignOut;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date timeSignUp;

    /** 签退时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签退时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date timeSignOut;

    /** 服务时长 */
    @Excel(name = "志愿时长", width = 30)
    private String longtime;

    /** 审核是否通过 */
    @Excel(name = "活动名称")
    private String isCheck;

    /** 图片信息 */
    @Excel(name = "图片")
    private String img;

    /** 用户对象 */
    private SysUser sysUsers ;

    /** 活动对象 */
    private SysEvent SysEvent;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public SysUser getSysUsers() {
        return sysUsers;
    }

    public void setSysUsers(SysUser sysUsers) {
        this.sysUsers = sysUsers;
    }

    public com.xyzyzglxt.system.domain.SysEvent getSysEvent() {
        return SysEvent;
    }

    public void setSysEvent(com.xyzyzglxt.system.domain.SysEvent sysEvent) {
        SysEvent = sysEvent;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getEventId() {
        return eventId;
    }

    public void setEventId(Long eventId) {
        this.eventId = eventId;
    }

    public String getStatusSignUp() {
        return statusSignUp;
    }

    public void setStatusSignUp(String statusSignUp) {
        this.statusSignUp = statusSignUp;
    }

    public String getStatusSignOut() {
        return statusSignOut;
    }

    public void setStatusSignOut(String statusSignOut) {
        this.statusSignOut = statusSignOut;
    }

    public Date getTimeSignUp() {
        return timeSignUp;
    }

    public void setTimeSignUp(Date timeSignUp) {
        this.timeSignUp = timeSignUp;
    }

    public Date getTimeSignOut() {
        return timeSignOut;
    }

    public void setTimeSignOut(Date timeSignOut) {
        this.timeSignOut = timeSignOut;
    }

    public String getLongtime() {
        return longtime;
    }

    public void setLongtime(String longtime) {
        this.longtime = longtime;
    }

    public String getIsCheck() {
        return isCheck;
    }

    public void setIsCheck(String isCheck) {
        this.isCheck = isCheck;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    @Override
    public String toString() {
        return "SysUserEvent{" +
                "userId=" + userId +
                ", eventId=" + eventId +
                ", statusSignUp='" + statusSignUp + '\'' +
                ", statusSignOut='" + statusSignOut + '\'' +
                ", timeSignUp=" + timeSignUp +
                ", timeSignOut=" + timeSignOut +
                ", longtime='" + longtime + '\'' +
                ", isCheck='" + isCheck + '\'' +
                ", img='" + img + '\'' +
                '}';
    }
}
